package com.video.system.mapper;

import java.util.List;
import com.video.system.domain.VideoTeacher;

/**
 * 教师Mapper接口
 * 
 * @author lyh
 * @date 2021-07-31
 */
public interface VideoTeacherMapper 
{

    /**
     * 查询老师编码和名字
     * @return
     */
    public List<VideoTeacher> selectCodeAndNameList();

    /**
     * 查询教师
     * 
     * @param teacherId 教师ID
     * @return 教师
     */
    public VideoTeacher selectVideoTeacherById(Integer teacherId);

    /**
     * 查询教师列表
     * 
     * @param videoTeacher 教师
     * @return 教师集合
     */
    public List<VideoTeacher> selectVideoTeacherList(VideoTeacher videoTeacher);

    /**
     * 新增教师
     * 
     * @param videoTeacher 教师
     * @return 结果
     */
    public int insertVideoTeacher(VideoTeacher videoTeacher);

    /**
     * 修改教师
     * 
     * @param videoTeacher 教师
     * @return 结果
     */
    public int updateVideoTeacher(VideoTeacher videoTeacher);

    /**
     * 删除教师
     * 
     * @param teacherId 教师ID
     * @return 结果
     */
    public int deleteVideoTeacherById(Integer teacherId);

    /**
     * 批量删除教师
     * 
     * @param teacherIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteVideoTeacherByIds(Integer[] teacherIds);
}
